package com.service.impl;

import com.dao.AdviceDao;
import com.service.AdviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * Created by Administrator on 2018/10/20.
 */
@Service
public class AdviceServiceImpl implements AdviceService {
    @Autowired
   private AdviceDao adviceDao;


    @Override
    public int insertAdvice(Integer userId, String phone, String title, String content) {
        return adviceDao.insertAdvice(userId,phone,title,content);
    }
}
